window.onload = () => {
    document.querySelector("html").style.fontSize =
        window.innerWidth / 20 + "px";

    window.onresize = () => {
        document.querySelector("html").style.fontSize =
            window.innerWidth / 20 + "px";
    };
};